package com.zj.sy.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
@ConfigurationProperties(prefix = "base")
public class BaseProperties {

	public String project;
	public String distributedCacheTopic;
	public String distributedCachePrefix;
	public List<String> noAuthPath = new ArrayList<>();
	public String sharedDistributedCacheTopic;
	
	public String getProject() {
		return project;
	}
	public void setProject(String project) {
		this.project = project;
	}
	public String getDistributedCacheTopic() {
		return distributedCacheTopic;
	}
	public void setDistributedCacheTopic(String distributedCacheTopic) {
		this.distributedCacheTopic = distributedCacheTopic;
	}
	public List<String> getNoAuthPath() {
		return noAuthPath;
	}
	public void setNoAuthPath(List<String> noAuthPath) {
		this.noAuthPath = noAuthPath;
	}
	public String getDistributedCachePrefix() {
		return distributedCachePrefix;
	}
	public void setDistributedCachePrefix(String distributedCachePrefix) {
		this.distributedCachePrefix = distributedCachePrefix;
	}
	public String getSharedDistributedCacheTopic() {
		return sharedDistributedCacheTopic;
	}

	public void setSharedDistributedCacheTopic(String sharedDistributedCacheTopic) {
		this.sharedDistributedCacheTopic = sharedDistributedCacheTopic;
	}



}
